/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Server.domain.items;

/**
 *
 * @author Sander
 */
public class Item {
    
    private String itemName;
    private int itemCost;
    private int looktype;

    public Item(String itemName, int itemCost, int looktyp) 
    {
        this.itemName = itemName;
        this.itemCost = itemCost;
        this.looktype = looktyp;
    }
    
    public Item copyItem()
    {
        Item i = new Item(itemName, itemCost, looktype);
        return i;
    }

    public int getItemCost() {
        return itemCost;
    }

    public void setItemCost(int itemCost) {
        this.itemCost = itemCost;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public int getLooktype() {
        return looktype;
    }

    public void setLooktype(int looktype) {
        this.looktype = looktype;
    }
    
    public String getItemType()
    {
        return "item";
    }
    public String getItemAttributes()
    {
        return "Value: "+getItemCost();
    }
    
}
